package pl.iachoo.ctl.tabory.ui.editors.compositions;

import java.util.List;
import java.util.Set;

import pl.iachoo.ctl.tabory.dao.hibernate.vo.CompositionVO;
import pl.iachoo.ctl.tabory.dao.hibernate.vo.VagonVO;
import pl.iachoo.ctl.tabory.ui.selection.ISelection;

public class CompositionSelection implements ISelection {

	private static final long serialVersionUID = 1L;

	private List<CompositionVO> listComposition;
	private CompositionVO selectedComposition;
	private List<VagonVO> listAllVagons;
	private boolean isEditing;
	private boolean isNew;

	public CompositionVO getSelectedComposition() {
		return selectedComposition;
	}

	public void setSelectedComposition(CompositionVO selectedComposition) {
		this.selectedComposition = selectedComposition;
	}

	public boolean isEditing() {
		return isEditing;
	}

	public void setEditing(boolean isEditing) {
		this.isEditing = isEditing;
	}

	public List<VagonVO> getListAllVagons() {
		return listAllVagons;
	}

	public void setListAllVagons(List<VagonVO> listAllVagons) {
		this.listAllVagons = listAllVagons;
	}

	public boolean isNew() {
		return isNew;
	}

	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}

	public List<CompositionVO> getListComposition() {
		return listComposition;
	}

	public void setListComposition(List<CompositionVO> listComposition) {
		this.listComposition = listComposition;
	}

}
